package cn.huiyunche.base.service.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName: SOrderDiscountVo
 * @Description: 客户订单活动或折扣信息
 * @author: Aaron
 * @date: 2016年9月2日 下午3:53:45
 */
public class SOrderDiscountVo implements Serializable {

    private static final long serialVersionUID = 2447392653500349644L;

    private long id;

    //是否折扣活动
    private boolean isDiscount;

    //折扣活动详情
    private String desc;

    //折扣价
    private BigDecimal cost = BigDecimal.ZERO.setScale(2);

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public boolean isDiscount() {
        return isDiscount;
    }

    public void setDiscount(boolean isDiscount) {
        this.isDiscount = isDiscount;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    @Override
    public String toString() {
        return "SOrderDiscountVo [id=" + id + ", isDiscount=" + isDiscount + ", desc=" + desc + ", cost=" + cost + "]";
    }
}
